﻿<!DOCTYPE html>
<html xmlns:ng="http://angularjs.org" id="ng-app" ng-app="AngularApp">
<head>
	<meta charset="utf-8" />
	<title>通用设置</title>
	<script src="../js/frame.js"></script>
    <link href="../css/commset.css?v=1" rel="stylesheet" />
    <script src="../js-ctrl/CommsetCtrl.js"></script>
</head>
<body ng-controller="CommsetCtrl.ctrl">
    <div class="topbar">
        <div class="backbutton" onclick="Util.hideChildPage()">返回</div>
        通用设置
    </div>
    <div class="child_body">
        <ul>
            <li>
                <div class="text">WIFI状态下自动上传</div>
                <div class="btn" ng-class="{close:!control[0],open:control[0]}" ng-click="control[0]=!control[0]"></div>
            </li>
            <li>
                <div class="text">WIFI状态下自动升级</div>
                <div class="btn" ng-class="{close:!control[1],open:control[1]}" ng-click="control[1]=!control[1]"></div>
            </li>
            <li>
                <div class="text">分享作品到微博社区</div>
                <div class="btn" ng-class="{close:!control[2],open:control[2]}" ng-click="control[2]=!control[2]"></div>
            </li>
        </ul>
    </div>
</body>
</html>
<script>angular.module('AngularApp', ['ngTouch', 'ngSanitize']);</script>
